﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace XRM.Security.DataAccess.Models
{
    [Table("RequestWorkKindParamSpec")]
    public class RequestWorkKindParamSpec
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int RequestWorkKindParamSpecId { get; set; }

        [Required]
        public int RequestWorkKindParamId { get; set; }

        public string ParamValue { get; set; }
        
        [ForeignKey("RequestWorkKindParamId")]
        public virtual RequestWorkKindParam RequestWorkKindParam { get; set; }

        /*
        public int? InfoSystemId { get; set; }
        [ForeignKey("InfoSystemId")]
        public virtual InfoSystem InfoSystem { get; set; }
        */
        
    } 
}
